home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _AD5DFD37C0904B448C9815FBAEC5E116 < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.8 KB  |  53 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 300, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': r'Avery', 
  38.         'TemplateDescription': 'Tri-fold InkJet-brochures (mat) 8-1/2" x 11"', 
  39.         'Template': [{
  40.             'CellPosition': (0,0), 
  41.             'CellSize': (8.5,11), 
  42.             'ImagePlacement': 2, 
  43.             'ImagePath': r'', 
  44.             'RotationAngle': 0, 
  45.             'ImagePosition': (0,0), 
  46.             'ImageSize': (0,0)
  47.             }]
  48.         }
  49.  
  50. def Do(Environment):
  51.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  52.  
  53.